package com.sgam.mf.service.entity;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sgam.mf.dao.entity.VreportContractPaymentsDAO;
import com.sgam.mf.domain.entity.VreportContractPayments;
import com.sgam.mf.helper.ProxyCurrentUser;
import com.sgam.mf.service.GenericServiceImpl;

@Service
public class VreportContractPaymentsServiceImpl extends GenericServiceImpl<VreportContractPayments, VreportContractPaymentsDAO>
		implements VreportContractPaymentsService {

	protected final Logger log = Logger.getLogger(getClass());
	
	@Autowired
	public VreportContractPaymentsServiceImpl(VreportContractPaymentsDAO tDao) {
		super(tDao);
	}

	@Transactional
	public List<VreportContractPayments> list(ProxyCurrentUser user, Integer pUid) {
		log.debug("VreportContractPaymentsServiceImpl - list");
		List<VreportContractPayments> result = gettDao().list(user, pUid);
		return result;
	}
}
